package com.springboot.returndata.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * description:
 * @author: zyj
 * @date: 2023/3/3
 */
@Data
public class AddUpdateRoleDto {

    private Integer roleId;

   @NotNull(message = "角色名称不能为空")
    private String roleName;

   @NotNull(message = "角色状态不能为空")
    private String roleStatus;
}
